package com.hl.mapper;

import com.hl.domain.Coursemark;

import java.util.List;

/**
* @author 好好学习
* @description 针对表【coursemark(课程评价表，存储用户对课程的评价信息)】的数据库操作Mapper
* @createDate 2024-09-10 15:04:32
* @Entity com.hl.domain.Coursemark
*/
public interface CoursemarkMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Coursemark record);

    int insertSelective(Coursemark record);

    Coursemark selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Coursemark record);

    int updateByPrimaryKey(Coursemark record);


    //查询该课程的所有评价
    List<Coursemark> queryAllMark(Long courseId);

}
